@import "header";
@import "footer";
.main {
    width: 1200px;
    margin: 0 auto;
    .car_top {
        height: 70px;
        line-height: 70px;
        display: flex;
        justify-content: space-between;
        div span {
            margin-left: 10px;
            font-size: 14px;
        }
        span {
            font-size: 14px;
            i {
                display: inline-block;
                line-height: 60px;
                text-align: center;
                vertical-align: middle;
                font-size: 54px;
                color: red;
                padding-bottom: 8px;
            }
        }
        em {
            color: red;
            margin: 0 5px;
        }
    }
}

.cat_list {
    background: white;
    // display: flex;
    height: 165px;
    width: 100%;
    margin-bottom: 10px;
    display: none;
    .check {
        height: 100%;
        width: 60px;
        line-height: 165px;
        text-align: center;
        border-right: 1px solid #ccc;
    }
    div {
        width: 100%;
    }
    .icon {
        line-height: 30px;
        border-bottom: 1px solid #ccc;
        text-align: right;
        i {
            margin-right: 20px;
            font-size: 24px;
            color: #ccc;
            cursor: pointer;
        }
    }
}

.datas {
    display: flex;
    line-height: 132px;
    font-size: 14px;
    div {
        width: 110px;
        height: 132px;
        img {
            width: 110px;
            height: 110px;
            margin-top: 20px;
        }
    }
    h4 {
        width: 300px;
        text-align: center;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    p {
        margin-right: 20px;
        span {
            margin: 0 8px;
            color: red;
        }
    }
}

.datas .q_change {
    display: flex;
    height: 132px;
    width: 400px;
    line-height: 40px;
    margin: 0 40px;
    span {
        line-height: 132px;
    }
    div {
        width: 190px;
        height: 40px;
        border: 1px solid #ccc;
        margin-top: 45px;
        input {
            border: none;
            outline: none;
            background: white;
            text-align: center;
            width: 50px;
            font-size: 20px;
            height: 39px;
        }
        .count {
            width: 80px;
            border-right: 1px solid #ccc;
            border-left: 1px solid #ccc;
            font-size: 16px;
        }
    }
}

.cart_footer {
    width: 100%;
    height: 100px;
    background: #313131;
    box-shadow: 0px 0px 3px 0px #fff;
    border-top: 2px solid #fff;
    position: fixed;
    bottom: 0;
    color: white;
    .wrapper {
        display: flex;
        justify-content: space-between;
    }
    div:nth-child(1) {
        height: 100%;
        line-height: 100px;
        font-size: 14px;
        span {
            text-align: center;
            padding: 0 50px;
            border-right: 3px solid #ccc;
        }
        em {
            color: red;
            font-size: 20px;
            margin: 0 10px;
        }
        a {
            margin-left: 50px;
            color: white;
        }
    }
    div:nth-child(2) {
        strong {
            margin-right: 50px;
            font-weight: normal;
        }
        i {
            color: red;
            font-size: 16px;
            margin: 0 10px;
        }
        .settlement {
            background: red;
            outline: none;
            border: none;
            cursor: pointer;
            width: 200px;
            height: 40px;
            line-height: 40px;
            color: white;
        }
    }
}